package com.xiaoyu.awakening.ai.index.api;

import com.xiaoyu.awakening.ai.index.entity.AwkEmbReqDTO;
import com.xiaoyu.awakening.ai.index.entity.AwkEmbResDTO;
import com.xiaoyu.awakening.ai.index.entity.AwkEmbSupportDTO;
import com.xiaoyu.awakening.common.core.dto.Result;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 检索
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@RequestMapping("/api/v1/emb")
@Schema(name = "向量化API")
public interface IAwkEmbControllerApi {
    Result<AwkEmbResDTO> emb(@RequestBody AwkEmbReqDTO request);

    Result<List<AwkEmbSupportDTO>> support();
}
